package com.mt.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mt.pojo.CinemaSeat;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Wang
 * @since 2020-12-11
 */
public interface CinemaSeatService extends IService<CinemaSeat> {
    List<CinemaSeat> listSeatByHallId(int currentPage, int pageSize, int hallId);

   // List<CinemaSeat> listSeatByScheduleId(int ScheduleId);

    boolean defaultSeat2Hall(int hallId,int maxRow,int maxColumn);

    boolean addSeat2Hall(List<CinemaSeat> seatList, int hallId);

    boolean changeStatusMultipleSeats(List<Integer> seatList, int status);

    boolean deleteSeat(Integer seatId);
    boolean deleteAllHallSeat(Integer hallId);
    boolean batchDeleteSeats(List<CinemaSeat> seatIdList);
}
